
var express = require('express');
var router = express.Router();


var admin_groupRouter = require('./model_routes/admin_group.routes');
var admin_menuRouter = require('./model_routes/admin_menu.routes');//1
var admin_roleRouter = require('./model_routes/admin_role.routes');//2
var admin_role_accessRouter = require('./model_routes/admin_role_access.routes');//3
var admin_userRouter = require('./model_routes/admin_user.routes');//4
var batch_infoRouter = require('./model_routes/batch_info.routes');//5
var customers_accountRouter = require('./model_routes/customers_account.routes');//6
var depart_infoRouter = require('./model_routes/depart_info.routes');//7
var drugs_baseinfoRouter = require('./model_routes/drugs_baseinfo.routes');//8
var drugs_use_logRouter = require('./model_routes/drugs_use_log.routes');//9
var enterprise_infoRouter = require('./model_routes/enterprise_info.routes');//10
var farm_baseinfoRouter = require('./model_routes/farm_baseinfo.routes');//11
var farm_unit_infoRouter = require('./model_routes/farm_unit_info.routes');//12
var feeds_buyRouter = require('./model_routes/feeds_buy.routes');//13
var feeds_commonRouter = require('./model_routes/feeds_common.routes');//14
var order_checkRouter = require('./model_routes/order_check.routes');//15
var order_expressRouter = require('./model_routes/order_express.routes');//16
var order_infoRouter = require('./model_routes/order_info.routes');//17
var sale_employeeRouter = require('./model_routes/sale_employee.routes');//18
var seedling_buyRouter = require('./model_routes/seedling_buy.routes');//19
var seedling_commonRouter = require('./model_routes/seedling_common.routes');//20
var seedling_selfRouter = require('./model_routes/seedling_self.routes');//21
var summary_employeeRouter = require('./model_routes/summary_employee.routes');//22
var trans_employeeRouter = require('./model_routes/trans_employee.routes');//23

var uploadRouter = require('./upload');

/* GET home page. */
router.use('/admin_group',admin_groupRouter)
router.use('/admin_menu',admin_menuRouter)
router.use('/admin_role',admin_roleRouter)
router.use('/admin_role_access',admin_role_accessRouter)
router.use('/admin_user',admin_userRouter)
router.use('/batch_info',batch_infoRouter)
router.use('/customers_account',customers_accountRouter)
router.use('/depart_info',depart_infoRouter)
router.use('/drugs_baseinfo',drugs_baseinfoRouter)
router.use('/drugs_use_log',drugs_use_logRouter)
router.use('/enterprise_info',enterprise_infoRouter)
router.use('/farm_baseinfo',farm_baseinfoRouter)
router.use('/farm_unit_info',farm_unit_infoRouter)
router.use('/feeds_buy',feeds_buyRouter)
router.use('/feeds_common',feeds_commonRouter)
router.use('/order_check',order_checkRouter)
router.use('/order_express',order_expressRouter)
router.use('/order_info',order_infoRouter)
router.use('/sale_employee',sale_employeeRouter)
router.use('/seedling_buy',seedling_buyRouter)
router.use('/seedling_common',seedling_commonRouter)
router.use('/seedling_self',seedling_selfRouter)
router.use('/summary_employee',summary_employeeRouter)
router.use('/trans_employee',trans_employeeRouter)

router.use('/upload',uploadRouter)

router.get('/', function(req, res, next) {
  res.send('api interface');
});

module.exports = router;
